package com.itheima.reggie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.reggie.domain.Setmeal;
import org.springframework.stereotype.Repository;

//套餐的持久层接口
@Repository
public interface SetmealMapper extends BaseMapper<Setmeal> {

    //根据分类id查询套餐的数量
    int countByCategoryId(Long id);


}
